package org.ingeniart.siec.controller;

import javax.enterprise.inject.Model;
import javax.inject.Inject;

import org.ingeniart.siec.model.TipoDocumento;
import org.ingeniart.siec.service.AbstracRegistration;
import org.ingeniart.siec.service.TipoDocumentoRegistration;

@Model
public class TipoDocumentoController extends AbstractController<TipoDocumento> {

	@Inject
	private TipoDocumentoRegistration registration;
	
	private TipoDocumento object;
	
	public TipoDocumentoController() {
		super(TipoDocumento.class);
		// TODO Auto-generated constructor stub
	}

	@Override
	protected AbstracRegistration<TipoDocumento> getRegistration() {
		// TODO Auto-generated method stub
		return registration;
	}

	@Override
	public TipoDocumento getObject() {
		// TODO Auto-generated method stub
		return object;
	}

	@Override
	public void setObject(TipoDocumento obClass) {
		// TODO Auto-generated method stub
		this.object = obClass;

	}

}
